import {RouteRecordRaw} from 'vue-router'
import CustomLayout from '@/layout/CustomLayout.vue'

export default [
  {
    path: '/resource',
    name: 'resource',
    component: CustomLayout,
    children: [
      {
        path: 'network',
        name: 'resource_network',
        component: () => import('@/views/resource/network.vue')
      },
      {
        path: 'server',
        name: 'resource_server',
        component: () => import('@/views/resource/server.vue')
      },
      {
        path: 'login-log',
        name: 'resource_login-log',
        component: () => import('@/views/resource/login-log.vue')
      }
    ]
  }
] as RouteRecordRaw[]
